package com.efesco.service.zhongheInsure;

import com.bstek.dorado.data.*;
import com.bstek.dorado.data.db.SqlDataset;
import com.bstek.dorado.common.*;
import com.efesco.common.CommUtil;

/**
 * zhongheInsure_dataset_query_formListener
 */
public class zhongheInsure_dataset_query_formListener extends AbstractDatasetListener {
  public boolean beforeLoadData(Dataset dataset)
     throws Exception {
	  SqlDataset ds = (SqlDataset) dataset;
	  String sql=ds.getSql();
	  sql += CommUtil.setConditionSQL(ds);
	  ds.setSql(sql);
    return true;
  }

}
